#coding=utf8


import urllib2

proxy_data = {
    'un': '',
    'pw': '',
    'host': '',
    }
support = 'http://%(un)s:%(pw)s@%(host)s' % proxy_data
proxy_support = urllib2.ProxyHandler({'http':support})
opener = urllib2.build_opener(proxy_support)
urllib2.install_opener(opener)
